<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页_{$webname}</title>
<meta name='keywords'    content='{$keywords}'>
<meta name='description' content='{$description}'>
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome-ie7.min.css" />
<![endif]-->
<!--公共样式结束-->
<!--页面样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_index.css" />
<!--页面样式结束-->
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery.SuperSlide.2.1.1.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=v91aIepsmM86gClKu180Zsdb"></script>
</head>

<body>
	<div class="zhezhao"></div>
<div class="zz">
	<!--top start-->
	<include file="Public:header" lang="true" />
	<!--top end-->
	<!--content start-->
	<div class="content">
		<h1><a href="{:U('Artonce/index','cateid=144')}" class="color_main">什么是 KK.Rabbit？</a></h1>
		<h2>四个城市，上海，北京，广州，顺义，轻松点击，选择您想选择！</h2>
		<div class="main clearfix">
			<dl>
				<!-- <dt><a href="{:U('Index/address','city=上海&cityid=866')}"><img src="{$NOW_THEME_URL}/Assets/Images/shanghai.jpg" /></a></dt>
				<dd><a href="{:U('Index/address','city=上海&cityid=866')}">上海</a></dd> -->
				<dt <eq name='data.city' value='上海市'>id="hover_bg"</eq>><a href="javascript:void(alert('暂时未开放'));"><img src="{$NOW_THEME_URL}/Assets/Images/shanghai.png" /></a></dt>
				<dd><a href="javascript:void(alert('暂时未开放'));">上海</a></dd>
			</dl>
			<dl>
				<!--<dt <eq name='data.city' value='北京市'>id="hover_bg"</eq>><a href="{:U('Index/address','city=北京&cityid=850')}"><img src="{$NOW_THEME_URL}/Assets/Images/beijing.png" /></a></dt>
				<dd><a href="{:U('Index/address','city=北京&cityid=850')}">北京</a></dd>-->
				<dt <eq name='data.city' value='北京市'>id="hover_bg"</eq>><a href="javascript:void(alert('暂时未开放'));"><img src="{$NOW_THEME_URL}/Assets/Images/beijing.png" /></a></dt>
				<dd><a href="javascript:void(alert('暂时未开放'));">北京</a></dd>
			</dl>
			<dl>
				<dt <eq name='data.city' value='广州市'>id="hover_bg"</eq>><a href="{:U('Index/address','city=广州&cityid=867')}"><img src="{$NOW_THEME_URL}/Assets/Images/guangzhou.png" /></a></dt>
				<dd><a href="{:U('Index/address','city=广州&cityid=867')}">广州</a></dd>
			</dl>
			<dl>
				<!--<dt <eq name='data.city' value='顺义'>id="hover_bg"</eq>>
				<a href="{:U('Index/address','city=顺义&cityid=930')}"><img src="{$NOW_THEME_URL}/Assets/Images/shunyi.png" /></a></dt>
				<dd><a href="{:U('Index/address','city=顺义&cityid=930')}">顺义</a></dd>-->

				<dt <eq name='data.city' value='顺义'>id="hover_bg"</eq>>
				<a href="javascript:void(alert('暂时未开放'));"><img src="{$NOW_THEME_URL}/Assets/Images/shunyi.png" /></a></dt>
				<dd><a href="javascript:void(alert('暂时未开放'));">顺义</a></dd>
			</dl>
		</div>
		<!--<div class="tuijian">
			<em class="color_main">Recommended restaurants：</em><a href="">优年美式餐厅</a><a href="">LUGA'S VILLA墨西哥餐厅</a><a href="">财富阿拉伯餐厅</a>
		</div>-->
	</div>
	<!--content end-->
	<!--footer start-->
	<include file="Public:footer" lang="true" />
	<a id="vipwebchat" href="http://vipwebchat.tq.cn/pageinfo.jsp?version=vip&admiuin=9632675&ltype=100&iscallback=0&page_templete_id=79615&is_message_sms=0&is_send_mail=0&action=acd&acd=1&type_code=1" target=_blank><img src="http://float2006.tq.cn/staticimg.jsp?version=vip&admiuin=9632675&ltype=100&action=acd&acd=1&type_code=1&onlinepic=http://userfiles.tq.cn/userfiles/upload_163/9632675/1409707371.png&offlinepic=http://userfiles.tq.cn/userfiles/upload_163/9632675/1411606183.png" border='0' /></a>
	
	<!--footer end-->
</div>
<div id="allmap" style="display:none"></div>
<script type="text/javascript">
	//换图
	$(function(){
		$(".content .main>dl").on("mouseover",function(){
			$(this).children("dt").attr("id","hover_bg");
		})
		$(".content .main>dl").on("mouseout",function(){
			$(this).children("dt").removeAttr("id");
		})
	})
	
	
	<neq name="query.type" value="1">
		var map = new BMap.Map("allmap");
		var point = new BMap.Point(116.331398,39.897445);
		map.centerAndZoom(point,12);
		
		var geolocation = new BMap.Geolocation();
		geolocation.getCurrentPosition(function(r){
			
			//console.log(this.getStatus());
		    if(this.getStatus() == BMAP_STATUS_SUCCESS){
		        //console.log('您的位置：'+r.point.lng+','+r.point.lat);
		        
		        var points = r.point;
		      	var gc    = new BMap.Geocoder();
		      	var addComp = '';
		        gc.getLocation(points, function(rs){
		            addComp = rs.addressComponents;
		        });
		        console.log('省份:'+addComp.province);
		        $.post("{:U('Index/getAddress')}",{location:point,addComp:addComp},function(){
		        	return;
		        });
		    }      
		},{enableHighAccuracy: true});
	</neq>
</script>
</body>
</html>
